import request from '@/router/axios';

export const specialStatusCount = () => {
  return request({
    url: '/api/vingsoft-ywsp/statistics/specialStatusCount',
    method: 'get',
  })
};

export const acceptAndEndCountByTimeRange = (type) => {
  return request({
    url: '/api/vingsoft-ywsp/statistics/acceptAndEndCountByTimeRange',
    method: 'get',
    params: {
      type
    }
  })
};

export const blzxHcpPjl = (row) => {
  return request({
    url: '/api/vingsoft-ywsp/statistics/appriseOverviewCount',
    method: 'post',
    data: row
  })
}

export const blzxHcpPjinfor = (row) => {
  return request({
    url: '/api/vingsoft-ywsp/statistics/appriseDetailPage',
    method: 'post',
    data: row
  })

}


//   export const getBanjianhuizongtingji = (current, size,params) => {
//     return request({
//       url: '/api/vingsoft-middleprocenter/middleApiService/getBanjianhuizongtingji',
//       method: 'get',
//       params: {
//         current,
//         size,
//         ...params
//       }
//     })
//
// }

export const getBanjianhuizongtingji = (current, size,params) => {
  return request({
    url: '/api/vingsoft-middleprocenter/qhbjhztj/getBanjianshixiangtingji',
    method: 'get',
    params: {
      current,
      size,
      ...params
    }
  })

}

export const getBanjianshixiangtingji = (params,  current, size) => {
  return request({
    url: '/api/vingsoft-middleprocenter/middleApiService/getBanjianshixiangtingji',
    method: 'get',
    params: {

      ...params,
      current,
      size
    }
  })

}
